package com.ruoyi.travel.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 景点详细介绍对象 scenic_intro
 * 
 * @author ruoyi
 * @date 2024-12-06
 */
public class ScenicIntro extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 景区ID */
    private Long id;

    /** 景区名称 */
    @Excel(name = "景区名称")
    private String name;

    /** 景区图片（多个URL用逗号分隔） */
    @Excel(name = "景区图片", readConverterExp = "多=个URL用逗号分隔")
    private String images;

    /** 开放时间 */
    @Excel(name = "开放时间")
    private String openingHours;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 景区简介 */
    @Excel(name = "景区简介")
    private String introduction;

    /** 景区视频URL */
    @Excel(name = "景区视频URL")
    private String videoUrl;

    /** 景区攻略（多个攻略用换行符分隔） */
    @Excel(name = "景区攻略", readConverterExp = "多=个攻略用换行符分隔")
    private String strategies;

    /** 交通信息（多个交通方式用换行符分隔） */
    @Excel(name = "交通信息", readConverterExp = "多=个交通方式用换行符分隔")
    private String transportation;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    /** 景区攻略的图片URL */
    @Excel(name = "景区攻略的图片URL")
    private String strategiesUrl;

    /** 纬度 */
    @Excel(name = "纬度")
    private BigDecimal latitude;

    /** 经度 */
    @Excel(name = "经度")
    private BigDecimal longitude;

    /** 景区联系电话 */
    @Excel(name = "景区联系电话")
    private String phoneNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }
    public void setOpeningHours(String openingHours) 
    {
        this.openingHours = openingHours;
    }

    public String getOpeningHours() 
    {
        return openingHours;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setIntroduction(String introduction) 
    {
        this.introduction = introduction;
    }

    public String getIntroduction() 
    {
        return introduction;
    }
    public void setVideoUrl(String videoUrl) 
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl() 
    {
        return videoUrl;
    }
    public void setStrategies(String strategies) 
    {
        this.strategies = strategies;
    }

    public String getStrategies() 
    {
        return strategies;
    }
    public void setTransportation(String transportation) 
    {
        this.transportation = transportation;
    }

    public String getTransportation() 
    {
        return transportation;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }
    public void setStrategiesUrl(String strategiesUrl) 
    {
        this.strategiesUrl = strategiesUrl;
    }

    public String getStrategiesUrl() 
    {
        return strategiesUrl;
    }
    public void setLatitude(BigDecimal latitude) 
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude() 
    {
        return latitude;
    }
    public void setLongitude(BigDecimal longitude) 
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude() 
    {
        return longitude;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("images", getImages())
            .append("openingHours", getOpeningHours())
            .append("address", getAddress())
            .append("introduction", getIntroduction())
            .append("videoUrl", getVideoUrl())
            .append("strategies", getStrategies())
            .append("transportation", getTransportation())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("strategiesUrl", getStrategiesUrl())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("phoneNumber", getPhoneNumber())
            .toString();
    }
}
